@import "./light.scss";
@import "./dark.scss";

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f5f5f5;
    width: 100% !important;
    font-family: "方正字体";
}

ul,
li {
    list-style: none;
    padding: 0;
}

*::-webkit-scrollbar {
    width: 0;
}

h1,
h2,
h3,
h4,
h5,
p,
ul,
li {
    margin: 0;
}

.el-header {
    padding: 0;
}

.el-main {
    padding: 0px !important;
}

.el-aside {
    transition: .3s;
    background-color: #fff;
}

.el-drawer__title {
    font-size: 18px;
}

:root {
    --el-color-primary: #2773ff;
    --el-color-primary-light-3: #2773ffab
}

.pointer {
    cursor: pointer;
}

.flex {
    display: flex;
    align-items: center;
}

.flex-X_between-Y_center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flc {
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-child-end {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.align-item-center {
    display: flex;
    align-items: center;
}


.el-menu {
    // overflow: hidden;
    border-right: none !important;
}



.scrollbar_none {
    &::-webkit-scrollbar {
        width: 0 !important
    }

    // ie10+
    & {
        -ms-overflow-style: none;
    }

    // firefox
    & {
        overflow: -moz-scrollbars-none;
    }
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrap {
    flex-wrap: wrap;
}


.hidden {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.underline {
    // text-decoration: underline;
    display: inline-block;
    border-bottom: 1px solid #404040;
    // padding-bottom: 1px;
}

.relative {
    position: relative;
}

// @font-face {
// font-family: "方正字体";
// src: url('/font/fz/FZZhaoJSJSJF.TTF');
// src: url('/font/fz/FZZJ-LongYTJF.TTF');
// src: url('/font/fz/FZZJ-LYYBXSJW.TTF');
// src: url('/font/fz/FZZJ-XHFTJF.TTF');
// src: url('/font/fz/FZZZHONGK.TTF');
// src: url('/font/fz/FZLTHK.TTF');
// src: url('/font/fz/FZZZHUNHK.TTF');
// }

// 去除高德地图logo
.amap-logo {
    display: none;
    opacity: 0 !important;
}

.amap-copyright {
    opacity: 0;
}

.color-primary {
    color: $primary--color;
}

.bgColor-primary {
    background-color: $primary--color;
}

.dropdown-item_active {
    background-color: var(--el-dropdown-menuItem-hover-fill);
    color: var(--el-dropdown-menuItem-hover-color);
}

// 地图 标记样式
.round {
    user-select: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    position: relative;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;

    .img {
        width: 28px;
        height: 28px;
        display: block;
    }
}